<?php
/**
 * Created by PhpStorm.
 * User: boye009
 * Date: 2016/2/22
 * Time: 14:15
 */

namespace Shop\Api;

use \Common\Api\Api;
use Shop\Model\ProductImageModel;

class ProductImageApi extends Api{

    /**
     * 添加
     */
    const ADD = "Shop/ProductImage/add";
    /**
     * 保存
     */
    const SAVE = "Shop/ProductImage/save";
    /**
     * 查询一条数据
     */
    const GET_INFO = "Shop/ProductImage/getInfo";

    /**
     * 查询，不分页
     */
    const QUERY_NO_PAGING = "Shop/ProductImage/queryNoPaging";
    /*
     * 删除图片和商品关联的信息
     **/
    const DELPRITURE =  "Shop/ProductImage/delete";
    /*
     * 统计总记录数
     * */
    const COUNT = 'Shop/ProductImage/count';
    
    protected function _init(){
        $this -> model = new ProductImageModel();
    }
    
 

}